<div class="margin-top">
    <!-- <div class="row margin-top-lg">
        <div class="col-lg-2 padding-right-xs padding-left-xl">
            <input v-model="ownerDetailRoomInfo.roomNum" type="text" :placeholder="vc.i18n('请填写房屋编号','ownerDetailRoom')"
                class="form-control">
        </div>
        <div class="col-lg-2 padding-right-xs padding-right-xl">
            <button type="button" class="btn btn-primary btn-sm" style="margin-left:10px"
                v-on:click="_qureyRoomDetailOwner()">
                <i class="fa fa-search"></i>查询
            </button>
        </div>

        <div class="col-lg-8 text-right">
             <button type="button" class="btn btn-primary btn-sm" style="margin-left:10px" v-if="vc.hasPrivilege('502023021978930012')" v-on:click="_openAddOwnerRoom()">
                <vc:i18n name="交房" namespace="simplifyRoomFee"></vc:i18n>
            </button> 

        </div>
    </div> -->
    <div class="margin-top">
        <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
            <thead>
                <tr>
                    <th data-hide="phone" class="text-center hc-table-fix-left-td">
                        <div class="hc-td">
                            <vc:i18n name="房屋" namespace="room"></vc:i18n>
                        </div>
                    </th>
                    <th data-hide="phone" class="text-center">
                        <div class="hc-td">
                            <vc:i18n name="楼层" namespace="room"></vc:i18n>
                        </div>
                    </th>
                    <th data-hide="phone" class="text-center">
                        <div class="hc-td">
                            <vc:i18n name="类型" namespace="room"></vc:i18n>
                        </div>
                    </th>
                    <th data-hide="phone" class="text-center">
                        <div class="hc-td">
                            <vc:i18n name="建筑/室内面积" namespace="room"></vc:i18n>
                        </div>
                    </th>
                    <th data-hide="phone" class="text-center">
                        <div class="hc-td">
                            <vc:i18n name="房屋状态" namespace="room"></vc:i18n>
                        </div>
                    </th>
                    <th data-hide="phone" class="text-center">
                        <div class="hc-td">
                            <vc:i18n name="入住时间" namespace="room"></vc:i18n>
                        </div>
                    </th>
                    <th v-for="(item,index) in ownerDetailRoomInfo.listColumns" class="text-center">
                        <div class="hc-td">
                            {{item}}
                        </div>
                    </th>
                    <th class="text-center hc-table-fix-right-td">
                        <vc:i18n name="操作" namespace="room"></vc:i18n>
                    </th>
                </tr>
            </thead>
            <tbody>
                <tr v-for="room in ownerDetailRoomInfo.rooms">
                    <td class="text-center hc-table-fix-left-td">
                        <div class="hc-td">
                            {{room.floorNum}}-{{room.unitNum}}-{{room.roomNum}}
                        </div>
                    </td>
                    <td class="text-center">
                        <div class="hc-td">
                            {{room.layer}}
                            <span>
                                <vc:i18n name="层" namespace="room"></vc:i18n>
                            </span>
                        </div>
                    </td>
                    <td class="text-center hand" v-else>
                        <div class="hc-td textAuto">
                            {{room.ownerName || '-'}}
                        </div>
                    </td>
                    <td class="text-center">
                        <div class="hc-td">
                            {{room.roomSubTypeName}}
                        </div>
                    </td>
                    <td class="text-center">
                        <div class="hc-td">
                            {{room.builtUpArea}}/{{room.roomArea}}
                            <span>
                                <vc:i18n name="平方米" namespace="room"></vc:i18n>
                            </span>
                        </div>
                    </td>
                    <td class="text-center">
                        <div class="hc-td">
                            {{room.stateName}}
                        </div>
                    </td>
                    <td class="text-center">
                        <div class="hc-td">
                            {{room.startTime || '-'}}
                        </div>
                    </td>
                    <td v-for="item in room.listValues" class="text-center">
                        <div class="hc-td">
                            {{item}}
                        </div>
                    </td>
                    <td class="text-center hc-table-fix-right-td">
                        <div class="btn-group">
                            <button class="btn-white btn btn-xs" v-on:click="_toRoomDetail(room)">
                                <vc:i18n name="详情" namespace="room"></vc:i18n>
                            </button>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
        <!-- 分页 -->
        <div class="row">
            <div class="col-sm-4">
                
            </div>
            <div class="col-sm-8">
                <vc:create namespace="ownerDetailRoom" path="frame/paginationPlus"></vc:create>
            </div>
        </div>
    </div>
</div>